import { createApp } from 'vue'
import pinia from '@/stores'
import router from './router'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import App from './App.vue'


const app = createApp(App)

//引入路由
app.use(router)

//引入仓库
app.use(pinia)

//设置中文版饿了么
app.use(ElementPlus, {
  locale: zhCn
})

app.mount('#app')
